package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.base.IBaseView;
import com.sanpu.kxe.business.main.bean.RebateTotalOutput;
import com.sanpu.kxe.module.roundview.RoundTextView;

/**
 * Description：收益
 * Created by 薛勇军 on 2018/8/7.
 */

public interface ProfitsContract {

    interface View extends IBaseView<Presenter> {
        /**
         * 刷新返佣统计
         */
        void showRebateTotalView(RebateTotalOutput output);

        /**
         * 添加indicator
         */
        void addIndicatorView(RoundTextView indicator);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 获取返佣统计
         */
        void getRebateTotal();

        /**
         * 初始化indicator
         */
        void indicatorView();

        /**
         * viewpage页面切换
         */
        void onPageSelected(int position);
    }
}
